package dao.security.impl;

import model.security.UsrRes;
import org.springframework.context.ApplicationContext;
import core.dao.impl.BaseDaoImpl;
import dao.security.UsrResDao;

public class UsrResDAOImpl extends BaseDaoImpl<UsrRes> implements UsrResDao  {
	public UsrResDAOImpl(){
		super(UsrRes.class);
	}
	
	public static UsrResDao getFromApplicationContext(ApplicationContext ctx) {
    	return (UsrResDao) ctx.getBean("usrResDAO");
	}
}